import React from 'react';
import ReactDOM from 'react-dom';
import App from './App';

// 导入仓库加载一次
import store from "./redux/store"
// Provider称为容器组件,直接和redux通信 UI无法直接和redux通信
import { Provider } from "react-redux"

//antd样式全局引入
import 'antd/dist/antd.min.css'
ReactDOM.render(
    <Provider store={store}>
        <App></App>
    </Provider>,
  document.getElementById('root')
);
